from rest_framework.pagination import PageNumberPagination


class MoviesPageNumberPagination(PageNumberPagination):
    """
    房源分页器
    """
    page_query_param = "page"
    page_size = 14
    page_size_query_param = "size"
    max_page_size = 14
